using System;
using System.Collections.Generic;

namespace MakePlayer
{
    public class Share
    {
        public static List<String> g_MainLogMsgList = null;
        public static bool g_boShowLogMsg = true;

        public static void MainOutMessage(string Msg)
        {
            if (g_boShowLogMsg)
            {
                //g_MainLogMsgList.Lock;
                try
                {
                    g_MainLogMsgList.Add((DateTime.Now).ToString() + ' ' + Msg);
                }
                finally
                {
                    //g_MainLogMsgList.UnLock;
                }
            }
        }

        public void initialization()
        {
            g_MainLogMsgList = new List<String>();
        }

    }
}